﻿using System;
using System.ComponentModel.DataAnnotations;

namespace ProjectCore.Domain.Model.Entity
{
    public class Order//订单
    {
        [Key]
        public int OrderID { get; set; }//订单ID

        [StringLength(50)]
        public string OrderNum { get; set; }//订单号

        public int ProId { get; set; }//商品外键

        public int UserID { get; set; }//用户外键

        public int Sort { get; set; }//显示顺序

        [StringLength(50)]
        public string Account { get; set; }//收款账号

        public int Pay { get; set; }//支付方式

        public int Send { get; set; }//配送方式

        public int State { get; set; }//状态

        public DateTime OrderTime { get; set; }//生成时间

        [StringLength(50)]
        public string Spare { get; set; }//备用
    }
}
